package dev.kaayf.utils;

import androidx.annotation.NonNull;

import java.io.Serializable;

public class Note implements Serializable {
    private String noteName;
    private String noteDate;
    private String noteCover = null;
    private int noteId;
    public Note(){}

    public Note(String noteName, String noteDate, String noteCover) {
        this.noteName = noteName;
        this.noteDate = noteDate;
        this.noteCover = noteCover;
    }

    public String getNoteName() {
        return noteName;
    }

    public void setNoteName(String noteName) {
        this.noteName = noteName;
    }


    public String getNoteDate() {
        return noteDate;
    }

    public void setNoteDate(String noteDate) {
        this.noteDate = noteDate;
    }

    public int getNoteId() {
        return noteId;
    }

    public void setNoteId(int noteId) {
        this.noteId = noteId;
    }

    @NonNull
    @Override
    public String toString() {
        return "Note { id = "+ noteId+ ", name = "+noteName+", date = "+noteDate+" }";
    }

    public String getNoteCover() {
        return noteCover;
    }

    public void setNoteCover(String noteCover) {
        this.noteCover = noteCover;
    }

}
